introduce gnttab_max_frames and gnttab_max_maptrack_frames command line options
authorStefano Stabellini <stefano.stabellini@eu.citrix.com>
Thu, 23 Oct 2014 09:59:46 +0000 (11:59 +0200)
committerJan Beulich <jbeulich@suse.com>
Thu, 23 Oct 2014 09:59:46 +0000 (11:59 +0200)
commit7157012293ec31da5b94d054739a1e07fedde736
tree2281c4d98ffee5afe4d2c97057abadcc5c9b07aa
parent204c7a873fbe1ac62a61c93babb858635dfe9c3a
introduce gnttab_max_frames and gnttab_max_maptrack_frames command line options

Introduce gnttab_max_maptrack_frames: a new Xen command line option to
specify the max number of maptrack frames per domain.
Deprecate the old gnttab_max_nr_frames and introduce gnttab_max_frames
instead, that doesn't affect the maptrack. Keep gnttab_max_nr_frames for
compatibility.

Rename internally max_nr_grant_frames to max_grant_frames to avoid
confusions.

Introduce DEFAULT_MAX_MAPTRACK_FRAMES, that is completely independent
from max_nr_grant_frames.

Remove MAX_MAPTRACK_TO_GRANTS_RATIO that is now only used in one place
for compatibility.

Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Acked-by: Jan Beulich <jbeulich@suse.com>
docs/misc/xen-command-line.markdown
xen/arch/arm/domain.c
xen/arch/arm/mm.c
xen/arch/x86/mm.c
xen/common/compat/grant_table.c
xen/common/grant_table.c
xen/include/asm-arm/grant_table.h
xen/include/xen/grant_table.h